
// 定义reducer
const initState = {
  value: 10,
}
const reducer = (state=initState,action)=>{
  console.log(state.value)
  switch(action.type){
    case 'send_action':
      return {value:state.value + 1};
    default:
      return state
  }
}
module.exports = {
  reducer,
} 